MultiSafepay\WooCommerce\PaymentMethods\PaymentMethods\Afterpay S

Total Complexity 20
Dependencies 2
Dependents 0
Total lines 139
Lines of code 65
Logical lines of code 25
Comment lines 44
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
get_terms_and_conditions_url()
S
62 5 12
get_payment_method_type()
S
78 2 3
has_fields()
S
77 2 3
validate_fields()
S
69 2 6
add_form_fields()
S
62 1 11
get_payment_method_id()
S
82 1 3
get_payment_method_code()
S
82 1 3
get_payment_method_title()
S
82 1 3
get_payment_method_description()
S
68 1 8
payment_fields()
S
75 1 4
get_checkout_fields_ids()
S
79 1 3
get_payment_method_icon()
S
82 1 3
get_gateway_info()
S
80 1 3